<?php

use yii\db\Migration;

class m171128_022541_alert_customer_branchaccount extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%customer_branchaccount}}','music_cash',$this->decimal(10,2)->defaultValue(0)->comment('音乐类型可用金额不可提现'));
    }

    public function safeDown()
    {
        $this->dropColumn('{{%customer_branchaccount}}','music_cash');
    }
}
